﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VideoState.aspx.cs" Inherits="dms_VideoState" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
  
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script>
    <asp:Literal ID="Literal1" runat="server"></asp:Literal>

</head>
<body>
    <form id="form1" runat="server">
   <div class="video-js-box">
     <video id="my_video_1" class="video-js vjs-default-skin" controls
  preload="auto" width="640" height="480" poster=""
  data-setup="{}">
  <source src='http://<%= HttpContext.Current.Request.Url.Authority %><%= KTFrameworkCus.Globals.ApplicationPath %>dms/Images/f/<%= filename %>' type='<%= getExtension(filename) %>'/>
 <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='640' height='480'
                    id='single1' name='single1'>
                    <param name='movie' value='http://<%= HttpContext.Current.Request.Url.Authority %><%= KTFrameworkCus.Globals.ApplicationPath %>dms/longtaivideo/player.swf'/>
                    <param name='allowfullscreen' value='true'/>
                    <param name='allowscriptaccess' value='always'/>
                    <param name='wmode' value='transparent'/>
                    <param name='flashvars' value='file=http://<%= HttpContext.Current.Request.Url.Authority %><%= KTFrameworkCus.Globals.ApplicationPath %>dms/Images/f/<%= filename %>'/>
                    <embed id='single2' name='single2' src='http://<%= HttpContext.Current.Request.Url.Authority %><%= KTFrameworkCus.Globals.ApplicationPath %>dms/longtaivideo/player.swf' width='640' height='480'
                        bgcolor='#000000' allowscriptaccess='always' allowfullscreen='true' flashvars='file=http://<%= HttpContext.Current.Request.Url.Authority %><%= KTFrameworkCus.Globals.ApplicationPath %>dms/Images/f/<%= filename %>' />
                </object>
        
        </video>


    <%--    <video id="video-1" class="video-js vjs-default-skin" controls="controls" preload="auto"
                                            width="640" height="480" poster='/dms/Images/t/playvideo.jpg'>
                        <source src='/dms/Images/f/<%= filename %>' type='<%# getExtension(filename)=="MP4"?"video/mp4":"video/webm" %>'> 
</video>--%>
    </div>
    </form>
</body>
</html>
